package com.objetdirect.gwt.umldrawer.shared.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.objetdirect.gwt.umldrawer.shared.dto.ProjectDto;

@RemoteServiceRelativePath("springGwtServices/projectService")
public interface ProjectService extends RemoteService {

	public ProjectDto findProject(int projectId);

	public void saveProject(int projectId, String name, String type,
			String adminEmail) throws Exception;

	public void updateProject(int projectId, String name, String type,
			String adminEmail) throws Exception;

	public void deleteProject(int projectId) throws Exception;

	public void saveOrUpdateProject(int projectId, String name, String type,
			String adminEmail) throws Exception;
}
